package com.youlu.campus.web.complaint;

import com.youlu.campus.wechat.service.impl.MerchantComplaintService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 太古代投诉处理
 */
@RestController
public class TaiGuDaiMerchantController {
    @Resource
    private MerchantComplaintService merchantComplaintService;
    /**
     * 商户号通知投诉处理
     * 太古代-1683307408
     * @param request
     * @return
     */
    @PostMapping("/public/complaint-notify/taigudai-1683307408")
    public Map<String,Object> weiChiNotify_1683307408(HttpServletRequest request){
        return merchantComplaintService.complaintNotify(request);
    }
    /**
     * 商户号通知投诉处理
     * 太古代-1683371314
     * @param request
     * @return
     */
    @PostMapping("/public/complaint-notify/taigudai-1683371314")
    public Map<String,Object> weiChiNotify_1683371314(HttpServletRequest request){
        return merchantComplaintService.complaintNotify(request);
    }
}
